<!DOCTYPE html>
<html>
<head>
    <!-- 设置字符编码 -->
    <meta charset="UTF-8">
    <!-- 禁止移动端页面缩放 -->
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
    <!-- 阻止浏览器缓存页面内容 -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=8">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <!-- 网页标题 -->
    <title>欢迎来到 - 互成一家</title>
    <!-- 设置样式表 -->
    <link rel="stylesheet" href="/stylesheet/public_style/root.css">
    <link rel="stylesheet" href="/stylesheet/login.css">
</head>
<body>
    <div class="page">
        <div class="donghua-box">
            <div class="content">
                <div class="logo">
                    <img src="/static/img/logo.png" />
                </div>
                <div class="title-box">
                    互成壹家
                </div>
            </div>
            <div class="bottom-text">BECOME ONE FAMILY WITH EACH OTHER</div>
        </div>
        <div class="top-line">
            <div class="bg1"></div>
            <div class="bg2"></div>
            <div class="bg3"></div>
            <div class="bg4"></div>
            <div class="bg5"></div>
            <div class="top-line-title" afterText="欢迎到来">互成壹家</div>
            <div class="top-line-text">BECOME ONE FAMILY WITH EACH OTHER</div>
        </div>
        <div class="login-line">
            <div class="wx-login-logo">
                <img src="/static/img/weixin.png" />
            </div>
            <div class="wx-login-btn">
                <div class="wx-button">微信快捷登录</div>
            </div>
        </div>
    </div>
    <script>
        let jmp = document.querySelector('.wx-button');
        jmp.addEventListener('click', () => {
            let url = '/page/main.html';
            let tmp_a = document.createElement('a');
            tmp_a.href = url;
            tmp_a.click();
            jmp.style.backgroundColor = 'rgb(35, 161, 53)';
            setTimeout(() => {
                jmp.style.backgroundColor = 'rgb(41, 197, 70)';
            }, 100);
        });
    </script>
</body>
</html>